import request from "@/common/request"

//日数据报表左树数据展示
export const leftTreeList = (queryForm) => {
    return request("get", "/system/sysDept/list", queryForm);
}

//日数据报表分页展示
export const daystatisticsPage = (queryForm) => {
    return request("get", "/oa/dayStatistics/page", queryForm);
}
//日数据报表列表展示
export const daystatisticsList = (queryForm) => {
    return request("get", "/oa/dayStatistics/list", queryForm);
}
//日数据报表详情
export const daystatisticsInfo = (id) => {
    return request('get', '/oa/dayStatistics/info', {
        id: id
    })
}
//日数据报表信息保存
export const daystatisticsSave = (data) => {
    return request('post', '/oa/dayStatistics/save', data)
}
//日数据报表信息修改
export const daystatisticsEdit = (data) => {
    return request('post', '/oa/dayStatistics/edit', data)
}
//日数据报表信息删除
export const daystatisticsDel = (id) => {
    return request('post', '/oa/dayStatistics/delete?id=' + id)
}
//日数据报表批量删除
export const daystatisticsDelBatch = (ids) => {
    return request('post', '/oa/dayStatistics/deleteBatch', ids)
}
//日数据报表动态表头导出
export const daystatisticsDynamicExport = (data) => {
    return request("eptpost", '/oa/dayStatistics/exportDynamic', data)
}
